export type WarDataType = 'd' | 'm' | 'q' | 'y'

//当前协会下报警可视化点图层
export interface IAlerGeoData {
  type: 'FeatureCollection'
  features: {
    type: 'Feature'
    properties: { plateNumber: string }
    geometry: { type: 'Point'; coordinates: [number, number] }
  }[]
}

export interface SwitchAndIntervalRef {
  switchAssociation: (newAssocaitionId: string) => void //切换协会
  intervalRefresh: () => void //5分钟刷新一次
  resize?: () => void
}
